#pragma once
#include "resource.h"       // main symbols

#include "CLizardShExt.h"

#include "LizardClient.h"

#include <shlobj.h>
#include <shlguid.h>
#include <comdef.h>
#include "atlcoll.h"


class CIconOverlayBase :
	  public IShellIconOverlayIdentifier

{
	public:
		CIconOverlayBase(void);
		~CIconOverlayBase(void);

		// IShellIconOverlayIdentifier Methods

		STDMETHOD(GetOverlayInfo)(LPWSTR pwszIconFile, 
						 int cchMax,int *pIndex,DWORD* pdwFlags);
		STDMETHOD(GetPriority)(int* pPriority);
		STDMETHOD(IsMemberOf)(LPCWSTR pwszPath,DWORD dwAttrib);



	protected:
		CComBSTR fileList;
		CComBSTR fileListFolder;
		CComBSTR usedFileList;
		bool areOverlaysApplicable;


	protected :
		virtual	string GetOverlayTypeName();
};
